﻿using System.Collections.Specialized;
using V2TEK.NET.SH.Silverlight.Charts.GanttHelper;

namespace V2TEK.NET.SH.Silverlight.Charts.TreeGridHelper
{
    public class SimpleTreeGridLayout : AbstractTreeGridLayout
    {
        //protected override void Rows_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
        //{
        //    base.Rows_CollectionChanged(sender, e);
        //    switch (e.Action)
        //    {
        //        case NotifyCollectionChangedAction.Add:
        //            RowItemsCollection row = e.NewItems[0] as RowItemsCollection;
        //            base.Items.Insert(e.NewStartingIndex, row[0]);
        //            break;
        //        case NotifyCollectionChangedAction.Remove:
        //            row = e.OldItems[0] as RowItemsCollection;
        //            base.Items.Insert(e.OldStartingIndex, row[0]);
        //            break;
        //        default:
        //            break;
        //    }
        //}
    }
}
